From f48232576f48eedea9a17e1e335b3d36188c8fa7 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Fri, 12 Jan 2007 14:46:21 +0000 Subject: [PATCH] Fix trivial bug in xentop main loop. Signed-off-by: Keir Fraser --- tools/xenstat/xentop/xentop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c index 4b610c3668..1c0d8ac63d 100644 --- a/tools/xenstat/xentop/xentop.c +++ b/tools/xenstat/xentop/xentop.c @@ -1067,9 +1067,9 @@ int main(int argc, char **argv) gettimeofday(&curtime, NULL); top(); oldtime = curtime; - sleep(delay); if ((!loop) && !(--iterations)) break; + sleep(delay); } while (1); } -- 2.30.2